package com.example.demo.Service;

import com.example.demo.Entity.UserMessage;

import java.util.ArrayList;

public interface UserMessageService {
    public boolean createNewMessage(UserMessage userMessage);

    public ArrayList<UserMessage> getMessage(String userId);

    public UserMessage getLast(String userId);
}
